ReCrash: Making Crashes Reproducible

نویسندگان

  • Sunghun Kim
  • Shay Artzi
  • Michael D. Ernst
چکیده

It is difficult to fix a problem without being able to reproduce it. However, reproducing a problem is often difficult and time-consuming. This paper proposes a novel algorithm, ReCrash, that generates multiple unit tests that reproduce a given program crash. ReCrash dynamically tracks method calls during every execution of the target program. If the program crashes, ReCrash saves information about the relevant method calls and uses the saved information to create unit tests reproducing the crash. We present reCrashJ, an implementation of ReCrash for Java. reCrashJ reproduced real crashes from javac, SVNKit, Eclipse JDT, and BST. reCrashJ is efficient, incurring 13%–64% performance overhead. If this overhead is unacceptable, then reCrashJ has another mode that has negligible overhead until a crash occurs and 0%-1.7% overhead until a second crash, at which point the test cases are generated.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ReCrash: Making Software Failures Reproducible by Preserving Object States

It is very hard to fix a software failure without being able to reproduce it. However, reproducing a failure is often difficult and time-consuming. This paper proposes a novel technique, ReCrash, that generates multiple unit tests that reproduce a given program failure. During every execution of the target program, ReCrash stores partial copies of method arguments in memory. If the program fail...

متن کامل

Association between unsafe driving performance and cognitive-perceptual dysfunction in older drivers.

OBJECTIVE To find an association between cognitive-perceptual problems of older drivers and unsafe driving performance during simulated automobile driving in a virtual environment. DESIGN Cross-sectional study. SETTING A driver evaluation clinic in a rehabilitation hospital. PARTICIPANTS Fifty-five drivers aged 65 years or older and 48 drivers in their late twenties to early forties. ME...

متن کامل

Stochastic Models Relating Crash Probabilities With Geometric And Corresponding Traffic Characteristics Data

Several kinds of models have been developed in modeling the occurrence of crashes, but most of these models have deficiencies and lack good results. Single and multivariate deterministic models have illustrated some influences of causal factors on crashes, but the inherent deterministic characteristic of these models makes explaining crash events a difficult task for these kinds of models. Stoc...

متن کامل

Young Drivers and Run-Off-the-Road Crashes

Motor vehicle crashes are one of the leading causes of death among young Americans. They also experience higher percentage of single vehicle, Run-off-the-road (ROR) crashes compared to other drivers. When looking at the methods of improving the alarming death rate of young drivers, it is important to identify the determinants of higher crash and injury severity. With that intention, the study d...

متن کامل

Gasoline prices and traffic crashes in Alabama, 1999-2009.

OBJECTIVE The price of gasoline has been found to be negatively associated with traffic crashes in a limited number of studies. However, most of the studies have focused either on fatal crashes only or on all crashes but measured over a very short time period. In this study, we examine gasoline price effects on all traffic crashes by demographic groups in the state of Alabama from 1999 to 2009....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007